package vip.lsjscl.flowboot.util;

import vip.lsjscl.flowboot.common.BusinessException;

/**
 * Bean 实用程序
 *
 * @author zhangxingju
 * @date 2025/03/24
 */
public class DKBeanUtil {
    /**
     * 获取处理器Bean的名称
     */
    public static Class<?> getBeanName(String className) throws ClassNotFoundException {
        try {
            return Class.forName(className);
        }
        catch (ClassNotFoundException e) {
            throw new BusinessException("未找到class", e);
        }
    }
}
